# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class RefundsStrategyVo(object):

    def __init__(self, strategyId=None, strategyType=None, refundChannelSwitch=None, refundWaySwitch=None, refundAreaSwitch=None, invoiceStatusSwitch=None, approveSwitch=None, refundOrderSwitch=None, serviceCode=None, priority=None, status=None, refundType=None):
        """
        :param strategyId: (Optional) 退款策略主键id
        :param strategyType: (Optional) 策略来源类型 0-运营后台退款策略  1-控制台退款策略 2-openapi退款策略 3-外部服务上云退款策略 4-产品线退款 5-出货失败退款策略
        :param refundChannelSwitch: (Optional) 退款方式策略 1 原支付方式返回  2 退款至余额
        :param refundWaySwitch: (Optional) 退款类型策略 0-退款退货 1-退款不退货
        :param refundAreaSwitch: (Optional) 退款范围策略  0-仅退现金  1-全部退款（含代金券）
        :param invoiceStatusSwitch: (Optional) 发票允许的状态   0-未开票 1-已退票  2-欠票补扣
        :param approveSwitch: (Optional) 审批策略 0-关闭 1-开启
        :param refundOrderSwitch: (Optional) 退款订单默认策略   0-退全部可退订单  1-退最后一笔订单 2-仅退新购订单 3-仅退续费订单
        :param serviceCode: (Optional) 业务产品线(如vm)
        :param priority: (Optional) 优先级 0-兜底策略  1-策略类型策略 2-service_code策略
        :param status: (Optional) 状态  0-无效 1-生效
        :param refundType: (Optional) 退款类型 1-订单退款 2-充值单退款 3-线下退款（人工退款）
        """

        self.strategyId = strategyId
        self.strategyType = strategyType
        self.refundChannelSwitch = refundChannelSwitch
        self.refundWaySwitch = refundWaySwitch
        self.refundAreaSwitch = refundAreaSwitch
        self.invoiceStatusSwitch = invoiceStatusSwitch
        self.approveSwitch = approveSwitch
        self.refundOrderSwitch = refundOrderSwitch
        self.serviceCode = serviceCode
        self.priority = priority
        self.status = status
        self.refundType = refundType
